<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>

<h1>Login</h1>
<div id="login-error">${error}</div>
<%-- <form action="/museum/j_spring_security_check" method="post"> --%>
<form action="/museum/processlogin" method="post">

	<p>
		<label for="j_username">Username</label> <input id="j_username"
			name="j_username" type="text" />
	</p>
	<p>
		<label for="j_password">Password</label> <input id="j_password"
			name="j_password" type="password" />
	</p>
	<input type="submit" value="Login" />

</form>
</body>